'Declaration Public Overridable Sub Clear()
'Usage Dim instance As NotifyCollectionBase(Of T) instance.Clear()
public virtual void Clear()
Exception | Description |
---|---|
System.NotSupportedException | The collection is read-only. |
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)